Policies_Ui_Search_Value = Class.create({
    class_name_ : "",
    search_value_ : "",
    is_negation_ : false,
    initialize: function(search_value, class_name) 
    {
        this.class_name_ = class_name;
        if(search_value.charAt(0) == '!')
        {
            this.search_value_ = search_value.slice(1);
            this.is_negation_ = true;
        }
        else
            this.search_value_ = search_value;
    },
    getName : function()
    {
        return this.class_name_;
    },
    getValue : function ()
    {
        return this.search_value_;
    },
    isNegation : function()
    {
        return this.is_negation_;
    }
});
